home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / utils / strsed.zoo / example2 < prev    next >
Text File  |  1992-07-05  |  672b  |  41 lines

  1. terry jones
  2. /j../
  3. 6
  4. 9
  5. fred
  6. s/ed/
  7. 2
  8. 4
  9. don't forget me oh no please don't forget me
  10. /get.*get/
  11. 9
  12. 41
  13. don't forget me oh no please don't forget me
  14. /.*/
  15. 0
  16. 44
  17. here is a line that we will not match with
  18. /[0-9].*/
  19. -1
  20. -1
  21. here is a line that we will match with
  22. /[0-9]*/
  23. 0
  24. 0
  25. this is a very silly line, a line for brucee who goes to buggery.
  26. g/[\s\t]*[^\s\t]*[\s\t]*[^\s\t]*[\s\t]*[^\s\t]*/
  27. 0
  28. 9
  29. another very silly line, a line for brucee who goes to buggery.
  30. g/[\s\t]*[^\s\t]*[\s\t]*[^\s\t]*[\s\t]*[^\s\t]*$/
  31. 46
  32. 63
  33. this will be tied to the front and so we'll miss
  34. /^miss$/
  35. -1
  36. -1
  37. this will not be tied to the front and so we'll hit
  38. /hit$/
  39. 48
  40. 51
  41.